package com.yqg.protection.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * conting_plan_flow 实体类
 *
 * @author zxf
 * @since 2024-10-15
 */
@Getter
@Setter
@TableName("conting_plan_flow")
@ApiModel(value = "ContingPlanFlow对象", description = "")
public class ContingPlanFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "ID", index = 0)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ExcelProperty(value = "单位ID", index = 1)
    private Long clientId;

    @ExcelProperty(value = "单位名称", index = 2)
    @ApiModelProperty("单位名称")
    @TableField(exist = false)
    private String clientName;

    @ExcelProperty(value = "应急演练流程名称", index = 3)
    @ApiModelProperty("应急演练流程名称")
    private String flowName;

    @ExcelProperty(value = "具体描述", index = 4)
    @ApiModelProperty("具体描述")
    private String description;

    @ExcelProperty(value = "文件名称", index = 5)
    @ApiModelProperty("文件名称")
    private String fileName;

    @ExcelProperty(value = "文件路径", index = 6)
    @ApiModelProperty("文件路径")
    private String fileUrl;

    @ExcelProperty(value = "状态", index = 7)
    @ApiModelProperty("状态")
    private String state;

    @ExcelIgnore
    private Integer isDelete;
}
